package com.xianzhiOA.bean;/**
 * Created by Administrator on 2017/5/2.
 */

import java.util.Date;

/**
 * 工作量
 *
 * @author 甘汝雷
 * @create 2017-05-02 10:01
 **/
public class XzWork {

    private Long workId;
//    @NotEmpty(message="workWeek: 不能为空",groups = {F1.class})
    private String workWeek;
    private double workPlan;
    private double workActual;
    private Long empId;
    private Long weekId;
    private String field1;
    private String field2;
    private String field3;
    private Date deleteTime;
    private int isdelete;
    private Date createTime;
    private Date workWeekTime;
    private double deviation;
    private double rate;

    public Long getWeekId() {
        return weekId;
    }

    public void setWeekId(Long weekId) {
        this.weekId = weekId;
    }

    public double getDeviation() {
        return deviation;
    }

    public void setDeviation(double deviation) {
        this.deviation = deviation;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public Date getWorkWeekTime() {
        return workWeekTime;
    }

    public void setWorkWeekTime(Date workWeekTime) {
        this.workWeekTime = workWeekTime;
    }

    public Long getWorkId() {
        return workId;
    }

    public void setWorkId(Long workId) {
        this.workId = workId;
    }

    public String getWorkWeek() {
        return workWeek;
    }

    public void setWorkWeek(String workWeek) {
        this.workWeek = workWeek;
    }

    public double getWorkPlan() {
        return workPlan;
    }

    public void setWorkPlan(double workPlan) {
        this.workPlan = workPlan;
    }

    public double getWorkActual() {
        return workActual;
    }

    public void setWorkActual(double workActual) {
        this.workActual = workActual;
    }

    public Long getEmpId() {
        return empId;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "XzWork{" +
                "workId=" + workId +
                ", workWeek='" + workWeek + '\'' +
                ", workPlan=" + workPlan +
                ", workActual=" + workActual +
                ", empId=" + empId +
                ", weekId=" + weekId +
                ", field1='" + field1 + '\'' +
                ", field2='" + field2 + '\'' +
                ", field3='" + field3 + '\'' +
                ", deleteTime=" + deleteTime +
                ", isdelete=" + isdelete +
                ", createTime=" + createTime +
                ", workWeekTime=" + workWeekTime +
                ", deviation=" + deviation +
                ", rate=" + rate +
                '}';
    }

    //    //验证分组1
//    public interface F1{
//
//    }
//    //验证分组2
//    public interface F2{
//
//    }
//    //组序列
//    @GroupSequence( { F1.class, F2.class })
//    public interface Group {
//
//    }
}